home *** CD-ROM | disk | FTP | other *** search
/ Hackers Matrix / Hacker's Matrix (nCite Software) (2003).iso / Tutorials / hTut_0100.txt < prev    next >
Text File  |  2002-12-13  |  10KB  |  212 lines

  1. I wanna Say Thanks To ApoXX, Spaz, Blasta, and SuperDaimyo
  2.  
  3.  
  4.  
  5.  
  6. Most IRC clients (IRC programs) are written to use the standard Unix 
  7. commands. However, not all clients will accept all the Unix commands. Many 
  8. clients also use modifications of the commands or commands that only work 
  9. with the particular client. Bear this in mind and read your specific clients 
  10. documentation for the commands it does support. The commands presented here 
  11. are the ones most commonly supported by most IRC clients.
  12. There are three syntax conventions that you need to remember with IRC 
  13. commands.
  14.  
  15. All IRC commands begin with the forward slash, " / ". Anything else you type 
  16. is considered text typed to the screen as normal conversation.
  17.  
  18. All channel names begin with a pound sign, " # "There is an exception here. 
  19. Some channel names will begin with a " & ", but those are few and far 
  20. between and you may never see them in your travels on IRC.
  21.  
  22. IRC is not case sensitive. So you can use either upper, lower, or mixed case 
  23. letters if you wish in your commands.
  24.  
  25.  
  26.  
  27.  
  28.  
  29. Note: the use of " # " indicates that the channel name should be 
  30. substituted...
  31. i.e. #newbies in these examples.
  32.  
  33. GENERAL COMMANDS
  34. Command Description Example
  35. /join [#] use to join a channel /join #newbies
  36. /part [#] use to leave a channel /part #newbies
  37. /leave [#] same as part /leave #newbies
  38. /quit (message) use to quit IRC. A message may be added to the command, but 
  39. is optional. /quit see ya'll later!
  40. /whois [nick] used to get info on a nick. /whois pipur
  41. /whowas [nick] used to get info on a nick that has just left IRC or a person 
  42. who has just changed their nick. /whowas pipur
  43. /who [#] shows nicks, addresses, and optional user info if available for 
  44. users on a channel /who #newbies
  45. /names [#] shows nicks of users on a channel /names #newbies
  46. /msg [nick] [message] sends a private message (whisper) to a user /msg pipur 
  47. hello there
  48. /query [nick] opens a new window for private dialog with a nick /query pipur
  49. /nick [newnick] if I wanted to change my current nick, pipurur, to pipur, I 
  50. would use this command /nick pipur
  51. /me [action describe] If pipur typed this example, it would be displayed as 
  52. *pipur waves to Alleghany /me waves to Alleghany
  53. /away [away message] use to tell others you are not currently at your 
  54. computer. A message can be included. To set yourself back, type /away again. 
  55. /away checking mail!
  56. /list requests a list of currently formed channels from the server. The 
  57. listing you request is not updated until you issue the request again. /list
  58. /invite [nick] [#] use to invite a nick who is elsewhere on IRC to join you 
  59. on a channel. /invite pipur #newbies
  60. /ignore [nick/address] use to prevent someone from talking to you. The 
  61. persons nick or address may be used.  /ignore pipur
  62. /kick [#] [nick] used to kick a user from the channel. You must be a channel 
  63. op to use this command. /kick #newbies pipur
  64. /mode [nick] +i This is the invisible mode. You are not literally invisible 
  65. on IRC. Users on the same channel as you still see you there.You are 
  66. invisible to a user who does a /who or /names. A /whois nick, however, will 
  67. show your user information and the channels you're on. /mode pipur +i
  68.  
  69.  
  70.  
  71.  
  72.  
  73. Channel Operator Mode Commands
  74. Channel operators (also known as ops) control the channel they are on. They 
  75. will have an " @ " in front of their nick. They are effectively the "bosses" 
  76. of the channel. There are two ways to become a channel operator. First is by 
  77. creating a channel. You create a channel by joining a channel that does not 
  78. currently exist. When you do this, the server sets you as the channel op. 
  79. The second way is to be made an operator by an existing operator.
  80.  
  81. Channel ops maintain control of the channel through the use of channel mode 
  82. commands. These are commands that only channel operators have access to, and 
  83. can be used to perform various functions on the channel.
  84.  
  85.  
  86. Please Note: only channel operators have access to the following function
  87. Typing a minus sign " - " in place of the plus sign " + " reverses the 
  88. command...
  89. i.e. +o ops, and -o deops
  90.  
  91.  
  92.  
  93.  
  94. Note: the use of " # " indicates that the channel name should be 
  95. substituted...
  96. i.e. #newbies in these examples. OPERATOR AND CHANNEL MODE COMMANDS
  97. Mode Command Description Example
  98. /mode [#] +o [nick] grant ops to a nick /mode #newbies +o pipur
  99. /mode [#] +b [address] ban a nick by their address from the channel. The 
  100. proper address format is *!*username@*.host.domain /mode #newbies +b 
  101. *!*jp@*.irc.com
  102. /mode [#] +m set the channel mode to moderate. This means that only ops can 
  103. type to the channel. All others are silenced on the channel. /mode #newbies 
  104. +m
  105. /mode [#] +v [nick] used in conjunction with +m mode. After setting to 
  106. moderate, a user can be given permission to speak by setting the mode to +v. 
  107. /mode #hi +v pipur
  108. /mode [#] +s makes the channel secret. It will not be shown in a channel 
  109. listing. It can still be joined if the channel name is known. /mode #newbies 
  110. +s
  111. /mode [#] +p makes the channel private. The channel cannot be joined unless 
  112. an invite is issued. The users on the channel can be listed with a /who or 
  113. /names command. /mode #newbies +p
  114. /mode [#] +i makes the channel invite only. You must be invited by another 
  115. nick on the channel to join. /mode #newbies +i
  116. /mode [#] +t restricts channel topic changes to operators only. /mode 
  117. #newbies +t
  118. /mode [#] +n prevents messages from outside the channel from being sent to 
  119. the channel. This does not affect personal messages to individual users. 
  120. /mode #newbies +n
  121. /mode [#] +l [number] limits the number of users that may occupy the 
  122. channel. In this example, the limit is 6 users. /mode #newbies +l 6
  123. /mode [#] +k [keyword] sets a password for the channel. Cannot join without 
  124. typing /join #channelname [keyword] /mode #newbies +k shazam
  125.  
  126.  
  127.  
  128.  
  129.  
  130. CTCP and DCC Commands
  131. CTCP stands for Client-To-Client-Protocol. The CTCP command performs certain 
  132. client specific functions on the IRC network. It permits you to find out 
  133. various kinds of information and perform some useful functions on IRC. Many 
  134. clients allow you to use CTCP to customize various functions, such as 
  135. setting up a file server on your system, or providing a means to grant op 
  136. status to users when you are not there to do it yourself. CTCP commands can 
  137. also be disabled by the user, so don't be surprised if you get no 
  138. information back from a user when you initiate certain CTCP requests to 
  139. them.
  140.  
  141. DCC is Direct Client-to-Client. This is probably one of the most useful and 
  142. desirable functions on IRC. With DCC you can send and receive files and chat 
  143. directly, privately, and securely to someone on IRC. The DCC channel is not 
  144. subject to lag and is secure because it does not use the IRC chat channels 
  145. to transmit information. It forms a direct link between two users (hence 
  146. direct-client-to-client).
  147.  
  148. CAUTION!! As useful as DCC is, you should be very cautious about receiving 
  149. files. NEVER accept a file from someone you don't know or trust! Just like 
  150. the real world, there are virus lurking out there, and there are jerks on 
  151. IRC just waiting to send system corrupting files to unsuspecting users. At 
  152. the very least, run a virus scan on a file before you execute it. It will 
  153. save you lots of headaches in the long run.
  154.  
  155.  
  156.  
  157.  
  158. CTCP Commands (using pipur in the sample replies)
  159. Command Description You Might See Something Like This
  160. /ctcp [nick] ping ping is used to determine the amount of time it takes for 
  161. your signal (messages) to get to another nick and back in seconds. It 
  162. measures the amount of lag time for the message. Excessive lag can make 
  163. communication difficult. [pipur PING reply]: 2 secs
  164. /ctcp [nick] version version is used to query a nicks' client for the type 
  165. or name of the IRC program they are running. [pipur VERSION reply]: mIRC16 
  166. v3.8 IRC Client K.Mardam-Bey
  167. /ctcp [nick] finger finger gives additional information about a nick. 
  168. Sometimes its not much different from the /whois [nick] information. [pipur 
  169. FINGER reply]: Don't judge me by my "looks" (biscuits@neosoft.com) Idle 3 
  170. seconds (Beware, lest the magic overwhelm you....)
  171. /ctcp [nick] userinfo the userinfo ctcp function usually gives about the 
  172. same information as the finger reply. [pipur USERINFO reply]: Don't judge me 
  173. by my "looks" (biscuits@neosoft.com) Idle 0 seconds (Beware, lest the magic 
  174. overwhelm you....)
  175. /ctcp [nick] clientinfo clientinfo ctcp function will tell you what 
  176. functions are active on the nicks' client. Can be useful if you want to know 
  177. if things like DCC, ping, or finger are active on their system. [pipur 
  178. CLIENTINFO reply]: ACCEPT ACTION CLIENTINFO DCC ECHO FINGER PING RESUME 
  179. SOUND TIME USERINFO VERSION
  180. /ctcp [nick] time this checks the local date and time on a nicks' computer. 
  181. I guess it might be useful if you wanted to know what time it was in 
  182. Australia, if your were talking to an Aussie. [pipur TIME reply]: Tue Dec 26 
  183. 15:38:21 1995
  184.  
  185.  
  186.  
  187.  
  188. DCC Commands
  189. Command Description
  190. /dcc chat [nick] this initiates a dcc chat session with the specified nick. 
  191. Since the connection does not go through the IRC network, it is the most 
  192. secure type of direct communication with another user. Depending on your 
  193. client, you will probably get some kind of message asking you to accept the 
  194. DCC chat request.
  195. /dcc send [nick] [filename] this command initiates a file send to the 
  196. designated nick. The file name and the full path of the file on your system 
  197. must be specified.
  198. /dcc get [nick] [filename] this command acknowledges and accepts a DCC file 
  199. transfer initiated by another user to you. Once you have typed the GET 
  200. response, the file transfer to you will begin.
  201. /dcc close [nick] use this command to refuse a DCC file offer or chat 
  202. request sent to you, or stop a DCC transfer that is in progress, or to close 
  203. a DCC chat session.
  204. /dcc list use this function to get a listing of currently active DCC 
  205. connections that you have going.
  206.  
  207.  
  208.  
  209. -LaZy
  210.  
  211.  
  212.